<!--#include file="top.php" -->
<script type="text/javascript">
var urls = "<?=url('test','testajax')?>";
</script>
</head>
<body>
  
<input type="button" value="test ajax" onclick="fntest()" /> 
<script type="text/javascript" src="../misc/vendors/js/dhtml.js"></script>
<script type="text/javascript">
$().ready(function(){
	showLoading();
});
function fntest(){ 
	$.post(
		urls,
		{
			val1:'参数一'
		},
		function(e){
			alert(e);
		}
	);
}
</script>
<!--#include file="bottom.php" -->
